SpringBoot整合kafka(實現producer和consumer) 本文代碼使用的是Spring Boot 2.1.8.RELEASE 版本 1、 pom.xml文件,引入依賴 采用Kafka提供的StringSerializer ...